package com.library.domain;


import com.library.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 广告管理表 mb_advertising
 *
 * @author null
 * @date 2020-04-23
 * @blame Android Team
 */
public class MbAdvertising extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Integer id;
    /**
     * 广告位
     */
    private Integer advertisingNum;
    /**
     * 商户名称
     */
    private String commercialName;
    /**
     * 广告标题
     */
    private String advertisingTitle;
    /**
     * 广告描述
     */
    private String advertisingDescribe;
    /**
     * 商户地址
     */
    private String commercialAddress;
    /**
     * 联系电话
     */
    private String phone;
    /**
     * 缩略图地址
     */
    private String simpleImageUrl;
    /**
     * 详情图地址
     */
    private String detailsImageUrl;
    /**
     * 状态
     */
    private String status;
    /**
     * 备注
     */
    private String remark;
    /**
     * 扩展字段
     */
    private String ext;


    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setAdvertisingNum(Integer advertisingNum) {
        this.advertisingNum = advertisingNum;
    }

    public Integer getAdvertisingNum() {
        return advertisingNum;
    }

    public void setCommercialName(String commercialName) {
        this.commercialName = commercialName;
    }

    public String getCommercialName() {
        return commercialName;
    }

    public void setAdvertisingTitle(String advertisingTitle) {
        this.advertisingTitle = advertisingTitle;
    }

    public String getAdvertisingTitle() {
        return advertisingTitle;
    }

    public void setAdvertisingDescribe(String advertisingDescribe) {
        this.advertisingDescribe = advertisingDescribe;
    }

    public String getAdvertisingDescribe() {
        return advertisingDescribe;
    }

    public void setCommercialAddress(String commercialAddress) {
        this.commercialAddress = commercialAddress;
    }

    public String getCommercialAddress() {
        return commercialAddress;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setSimpleImageUrl(String simpleImageUrl) {
        this.simpleImageUrl = simpleImageUrl;
    }

    public String getSimpleImageUrl() {
        return simpleImageUrl;
    }

    public void setDetailsImageUrl(String detailsImageUrl) {
        this.detailsImageUrl = detailsImageUrl;
    }

    public String getDetailsImageUrl() {
        return detailsImageUrl;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }


    public void setExt(String ext) {
        this.ext = ext;
    }

    public String getExt() {
        return ext;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("advertisingNum", getAdvertisingNum())
                .append("commercialName", getCommercialName())
                .append("advertisingTitle", getAdvertisingTitle())
                .append("advertisingDescribe", getAdvertisingDescribe())
                .append("commercialAddress", getCommercialAddress())
                .append("phone", getPhone())
                .append("simpleImageUrl", getSimpleImageUrl())
                .append("detailsImageUrl", getDetailsImageUrl())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("remark", getRemark())
                .append("ext", getExt())
                .toString();
    }


}
